app = require('./app');

const router = require('./router/router');
// 注册路由
router(app);

// 启动服务器
app.listen(app.config.port, () => {
    app.logger.info("server running on port:", app.config.port);
    app.logger.debug("server running on port:", app.config.port);
});
